
/* ================= PORTFOLIO BANNER ================= */

.portfolio-banner {
  position: relative;
  height: 350px;          /* 🔥 same height */
  margin-top: 70px;       /* navbar space */
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Banner Image */
.portfolio-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;      /* image crop illa */
}

/* Overlay */
.portfolio-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,15,36,0.15),
    rgba(0,0,0,0.5)
  );
}

/* Text */
.portfolio-banner h1 {
  font-size: 42px;
  font-weight: 700;
  color: white;        /* same as contact */
}

.portfolio-banner p {
  color: #d0d0ff;
  font-size: 15px;
}

/* Mobile */
@media (max-width: 768px) {
  .portfolio-banner {
    height: 220px;
  }

  .portfolio-banner h1 {
    font-size: 28px;
  }
}


/* Buttons */
.portfolio-buttons {
  margin-top: 40px;   /* banner keezha proper gap */
}

.filter-btn {
  display: inline-block;
  border: none;
  background: rgba(15, 23, 42, 0.35); /* 🔥 visible always */
  color: #fff;
  padding: 10px 28px;
  margin: 0 8px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* hover */
.filter-btn:hover {
  background: linear-gradient(135deg, #7f5af0, #2cb67d);
}

/* ONLY clicked button */
.filter-btn.active {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  box-shadow: 0 8px 18px rgba(30,58,138,0.45);
}

/* Images */
.portfolio-item {
  overflow: hidden;
  border-radius: 18px;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  transition: all 0.4s ease;
}

/* Hover Zoom */
.portfolio-item:hover img {
  transform: scale(1.08);
  filter: brightness(1.1);
}
.portfolio-buttons {
  margin-top: 30px;   /* banner ku keezha gap */
}


.filter-btn {
  display: inline-block;     /* 🔥 THIS IS IMPORTANT */
  border: none;
 
  background: #05498e;
  box-shadow: 0 8px 18px rgba(30,58,138,0.45);
  color: #fff;
  padding: 10px 28px;
  margin: 0 8px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  
  transition: all 0.3s ease;
}
.filter-btn:hover {

  background: linear-gradient(135deg, #7f5af0, #2cb67d);
}
/* ONLY clicked button */
.filter-btn.active {
  
  background: linear-gradient(135deg, #1c4ec3, #6e8de4);
  box-shadow: 0 8px 18px rgba(13, 67, 214, 0.45);

  
}
.gallery-quote {
  font-size: 18px;
  color: #555;
  margin-bottom: 15px;
  font-style: italic;
}

a.connect-btn {
  padding: 12px 28px;
  background: linear-gradient(135deg, #7f5af0, #2cb67d);
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s ease;
  margin-bottom: 40px;
}

a.connect-btn:hover {
  background: darkblue; /* gold feel */
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 26px;
  }

  .portfolio-section {
    padding: 30px 0 60px; /* mobile fix */
  }
}
